<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!--session信息-->
<c:set var="id" value="${user.id}"/>
<c:set var="username" value="${user.username}"/>
<c:set var="userRole" value="${user.userRole}"/>


<!--path 信息-->
<c:set var="ctx" value="${pageContext.request.contextPath}" scope="application"/>
<c:set var="ctxStatic" value="${pageContext.request.contextPath}/static" scope="application"/>




<script>
    var ctx = "${ctx}"; //
    var ctxStatic = "${ctxStatic}";
    var id = "${id}";
    var username = "${username}";
    var userRole = "${userRole}";


</script>
